package com.fofia.iotweb.jobs;


import cn.hutool.core.date.DateTime;
import cn.hutool.log.StaticLog;
import org.noear.solon.annotation.Component;
import org.noear.solon.scheduling.annotation.Scheduled;

@Component
public class DemoJob {

    @Scheduled(cron = "0 1 0/1 * * ?")
    public void job(){

        StaticLog.info("定时任务job执行了：{}", DateTime.now());
    }
}
